/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gride.events;

/**
 *
 * @author lukasz
 */
public interface EventListener
{
    /**
     * gets a reference to the object that registered this listener
     * @return
     */
    public Object whoIsListening();

    /**
     * handles the given event
     * @param eventID
     * @param args
     */
    public void eventRaised(String eventID, Object[] args);
}
